package com.xgsm.Fmmall.dao;

import com.xgsm.Fmmall.entity.Product;
import com.xgsm.Fmmall.entity.vo.ProductVo;
import com.xgsm.Fmmall.generatorlDao.GeneralDao;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface ProductMapper extends GeneralDao<Product> {
    public List<ProductVo> selectRecommendProducts();

//    查询指定一级类别下的销售量最高的六个商品
    public List<ProductVo> selectTop6ByCategory(int cid);
}